﻿<%@ Page Language="C#" MasterPageFile="~/default.master" AutoEventWireup="true" CodeBehind="relatorioplanejamento.aspx.cs" Inherits="CeA.Reports.Atendimento.Web.site.relatorioplanejamento" 
Title="[Q-WEB]: Relatório de Planejamento" %>
<%@ Register src="../inc/WebControls/FiltroPlanejamento.ascx" tagname="Planejamento" tagprefix="filtro" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
  <script src="/js/jquery.jqprint.js" type="text/javascript"></script>
  
  <style type="text/css" media="screen">
    .result-table th {width:50px!important; text-align:center}
    .result-table td {text-align: center}
    .result-table .first-col {text-align:left; font-weight:normal; background-color:#C5CFE9;};
  </style>
  
  <script type="text/javascript" language="javascript">
    $(document).ready( function() {
        $("#cmdImprimir").click( function() {
            $("#<%=report.ClientID%>").jqprint( {debug:false} );
        });
    });
  </script>
</asp:Content>
<asp:Content ID="body" ContentPlaceHolderID="BodyContentPlaceholder" runat="server">
  <div class="filter-container" style="width:auto">
    <div class="filter-header">
      <span class="b" style="line-height:25px; color:#000">Filtro:</span>
    </div>
    <div class="filter-contents">
      <filtro:Planejamento ID="filtro" runat="server" />
    </div>
  </div>
  
  <div class="break">
    <asp:Button id="btnExportarExcel" Visible="false" Runat="server" Text="Exportar" CssClass="form-buttom" />
    <span id="pnlImprimir" runat="server" visible="false">
      <input style="display:inline" id="cmdImprimir" type="button" class="form-buttom" value="Imprimir"/>
    </span>
  </div>
  
  <br />
  
  <div style="margin:auto" runat="server" id="report" visible="true">
    <h2>Planejamento</h2>
    <asp:Table runat="server" ID="resultTable" class="result-table" CellPadding="1" CellSpacing="1" style="table-layout:fixed; width:100%"/>
  </div>
</asp:Content>
